﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RMM.Core.Entity.Evaluates
{
    [Table("RMM_Evaluate")]
    public class Evaluate : Entity<long>, ICreationAudited, IModificationAudited
    {
        /// <summary>
        /// 对象id
        /// </summary>
        public long ObjectId { get; set; }

        /// <summary>
        /// 对象类型 0用户 1店
        /// </summary>
        public int ObjectType { get; set; }

        /// <summary>
        /// 星
        /// </summary>
        public int Star { get; set; }

        /// <summary>
        /// 评价
        /// </summary>
        public string Content { get; set; }

        public string Url { get; set; }

        public int Clicks { get; set; }

        public string CateList { get; set; }


        public long? LastModifierUserId { get;set; }
        public DateTime? LastModificationTime { get;set; }
        public long? CreatorUserId { get;set; }
        public DateTime CreationTime { get;set; }
    }
}
